package com.molyfun.parents.rest.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.molyfun.parents.rest.BaseResponse;

import java.util.List;

/**
 * Created by Administrator on 2017/11/15 0015.
 */

public class SignUpDetailResponse extends BaseResponse {

    /**
     * data : {"studentenrolpage":{"id":"19df6fcedc0f455490600484be0e8f90","name":"hbh","sex":"1","birthdatetime":1510588800000,"parity":"birthday","cityid":"e548cebc5e287041015e2bccf33c0579","cityname":"山东省济南市历下区","cardid":"bbj","createdatetime":1510749004000,"departid":"8a2d9263540d4e2f01540d57421b0001","status":"review","departname":null,"countryid":"e548cebc5e287041015e2bccf35c057a","address":null},"studentEnrol":null,"address":null,"phone":null,"email":null,"contactlist":null,"evaluatelist":null,"contactlistpage":[{"id":"1c5f1c7043544fee84fd33e2d31de203","name":"","cardid":"","education":"","occupation":"","qq":"","phone":"","relationship":""},{"id":"d72f59ffbde64cdebe3ea2c22c636fc1","name":"hb","cardid":"hhjk","education":"hvb","occupation":"gvb","qq":"2356617662@qq.com","phone":"18710899289","relationship":"ygb"}],"count":null,"orderflag":null,"useraddress":"yhbnjk"}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * studentenrolpage : {"id":"19df6fcedc0f455490600484be0e8f90","name":"hbh","sex":"1","birthdatetime":1510588800000,"parity":"birthday","cityid":"e548cebc5e287041015e2bccf33c0579","cityname":"山东省济南市历下区","cardid":"bbj","createdatetime":1510749004000,"departid":"8a2d9263540d4e2f01540d57421b0001","status":"review","departname":null,"countryid":"e548cebc5e287041015e2bccf35c057a","address":null}
         * studentEnrol : null
         * address : null
         * phone : null
         * email : null
         * contactlist : null
         * evaluatelist : null
         * contactlistpage : [{"id":"1c5f1c7043544fee84fd33e2d31de203","name":"","cardid":"","education":"","occupation":"","qq":"","phone":"","relationship":""},{"id":"d72f59ffbde64cdebe3ea2c22c636fc1","name":"hb","cardid":"hhjk","education":"hvb","occupation":"gvb","qq":"2356617662@qq.com","phone":"18710899289","relationship":"ygb"}]
         * count : null
         * orderflag : null
         * useraddress : yhbnjk
         */

        private StudentenrolpageBean studentenrolpage;
        private String studentEnrol;
        private String address;
        private String phone;
        private String email;
        private String contactlist;
        private String evaluatelist;
        private String count;
        private String orderflag;
        private String useraddress;
        private List<ContactlistpageBean> contactlistpage;

        public StudentenrolpageBean getStudentenrolpage() {
            return studentenrolpage;
        }

        public void setStudentenrolpage(StudentenrolpageBean studentenrolpage) {
            this.studentenrolpage = studentenrolpage;
        }

        public String getStudentEnrol() {
            return studentEnrol;
        }

        public void setStudentEnrol(String studentEnrol) {
            this.studentEnrol = studentEnrol;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getContactlist() {
            return contactlist;
        }

        public void setContactlist(String contactlist) {
            this.contactlist = contactlist;
        }

        public String getEvaluatelist() {
            return evaluatelist;
        }

        public void setEvaluatelist(String evaluatelist) {
            this.evaluatelist = evaluatelist;
        }

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public String getOrderflag() {
            return orderflag;
        }

        public void setOrderflag(String orderflag) {
            this.orderflag = orderflag;
        }

        public String getUseraddress() {
            return useraddress;
        }

        public void setUseraddress(String useraddress) {
            this.useraddress = useraddress;
        }

        public List<ContactlistpageBean> getContactlistpage() {
            return contactlistpage;
        }

        public void setContactlistpage(List<ContactlistpageBean> contactlistpage) {
            this.contactlistpage = contactlistpage;
        }

        public static class StudentenrolpageBean implements Parcelable{
            /**
             * id : 19df6fcedc0f455490600484be0e8f90
             * name : hbh
             * sex : 1
             * birthdatetime : 1510588800000
             * parity : birthday
             * cityid : e548cebc5e287041015e2bccf33c0579
             * cityname : 山东省济南市历下区
             * cardid : bbj
             * createdatetime : 1510749004000
             * departid : 8a2d9263540d4e2f01540d57421b0001
             * status : review
             * departname : null
             * countryid : e548cebc5e287041015e2bccf35c057a
             * address : null
             */

            private String id;
            private String name;
            private String sex;
            private long birthdatetime;
            private String parity;
            private String cityid;
            private String cityname;
            private String cardid;
            private long createdatetime;
            private String departid;
            private String status;
            private String departname;
            private String countryid;
            private String address;

            protected StudentenrolpageBean(Parcel in) {
                id = in.readString();
                name = in.readString();
                sex = in.readString();
                birthdatetime = in.readLong();
                parity = in.readString();
                cityid = in.readString();
                cityname = in.readString();
                cardid = in.readString();
                createdatetime = in.readLong();
                departid = in.readString();
                status = in.readString();
                departname = in.readString();
                countryid = in.readString();
                address = in.readString();
            }

            public static final Creator<StudentenrolpageBean> CREATOR = new Creator<StudentenrolpageBean>() {
                @Override
                public StudentenrolpageBean createFromParcel(Parcel in) {
                    return new StudentenrolpageBean(in);
                }

                @Override
                public StudentenrolpageBean[] newArray(int size) {
                    return new StudentenrolpageBean[size];
                }
            };

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public long getBirthdatetime() {
                return birthdatetime;
            }

            public void setBirthdatetime(long birthdatetime) {
                this.birthdatetime = birthdatetime;
            }

            public String getParity() {
                return parity;
            }

            public void setParity(String parity) {
                this.parity = parity;
            }

            public String getCityid() {
                return cityid;
            }

            public void setCityid(String cityid) {
                this.cityid = cityid;
            }

            public String getCityname() {
                return cityname;
            }

            public void setCityname(String cityname) {
                this.cityname = cityname;
            }

            public String getCardid() {
                return cardid;
            }

            public void setCardid(String cardid) {
                this.cardid = cardid;
            }

            public long getCreatedatetime() {
                return createdatetime;
            }

            public void setCreatedatetime(long createdatetime) {
                this.createdatetime = createdatetime;
            }

            public String getDepartid() {
                return departid;
            }

            public void setDepartid(String departid) {
                this.departid = departid;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getDepartname() {
                return departname;
            }

            public void setDepartname(String departname) {
                this.departname = departname;
            }

            public String getCountryid() {
                return countryid;
            }

            public void setCountryid(String countryid) {
                this.countryid = countryid;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(id);
                dest.writeString(name);
                dest.writeString(sex);
                dest.writeLong(birthdatetime);
                dest.writeString(parity);
                dest.writeString(cityid);
                dest.writeString(cityname);
                dest.writeString(cardid);
                dest.writeLong(createdatetime);
                dest.writeString(departid);
                dest.writeString(status);
                dest.writeString(departname);
                dest.writeString(countryid);
                dest.writeString(address);
            }
        }

        public static class ContactlistpageBean implements Parcelable{
            /**
             * id : 1c5f1c7043544fee84fd33e2d31de203
             * name :
             * cardid :
             * education :
             * occupation :
             * qq :
             * phone :
             * relationship :
             */

            private String id;
            private String name;
            private String sex;
            private String cardid;
            private String education;
            private String occupation;
            private String qq;
            private String phone;
            private String relationship;

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public ContactlistpageBean() {

            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCardid() {
                return cardid;
            }

            public void setCardid(String cardid) {
                this.cardid = cardid;
            }

            public String getEducation() {
                return education;
            }

            public void setEducation(String education) {
                this.education = education;
            }

            public String getOccupation() {
                return occupation;
            }

            public void setOccupation(String occupation) {
                this.occupation = occupation;
            }

            public String getQq() {
                return qq;
            }

            public void setQq(String qq) {
                this.qq = qq;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getRelationship() {
                return relationship;
            }

            public void setRelationship(String relationship) {
                this.relationship = relationship;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.id);
                dest.writeString(this.name);
                dest.writeString(this.sex);
                dest.writeString(this.cardid);
                dest.writeString(this.education);
                dest.writeString(this.occupation);
                dest.writeString(this.qq);
                dest.writeString(this.phone);
                dest.writeString(this.relationship);
            }

            protected ContactlistpageBean(Parcel in) {
                this.id = in.readString();
                this.name = in.readString();
                this.sex = in.readString();
                this.cardid = in.readString();
                this.education = in.readString();
                this.occupation = in.readString();
                this.qq = in.readString();
                this.phone = in.readString();
                this.relationship = in.readString();
            }

            public static final Creator<ContactlistpageBean> CREATOR = new Creator<ContactlistpageBean>() {
                @Override
                public ContactlistpageBean createFromParcel(Parcel source) {
                    return new ContactlistpageBean(source);
                }

                @Override
                public ContactlistpageBean[] newArray(int size) {
                    return new ContactlistpageBean[size];
                }
            };
        }
    }
}
